//
//  Set+ex.swift
//  WZApp
//
//  Created by evol on 2018/7/13.
//  Copyright © 2018年 evol. All rights reserved.
//

import UIKit

extension Set {
    func annotation(model:ELTagModel) -> ELAnnotationViewTuple? {
        for obj in self {
            let _model = obj as? ELAnnotationViewTuple //
            if _model?.model.id == model.id {
                return _model
            }
        }
        return nil
    }
}
